package com.rj.bd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rj.bd.dao.AdminMapper;
import com.rj.bd.entity.Admin;


@Service
public class AdminServiceImpl implements IAdminService{
	
	
	@Autowired
	public AdminMapper  adminMapper;

	@Override
	public List<Admin> queryAll() {
		return adminMapper.queryAll();
	}

	
	
	

	@Override
	public Admin login(String anumber, String apassword) {
		return adminMapper.login(anumber,apassword);
	}
	
	
	
}









